from django.conf.urls import url

from .views import UsersView, Register2View, LoginView, RegisterView, SMSCodeView, LogoutView

urlpatterns = [
    url(r'^message/$', UsersView.as_view(), name="message"),
    url(r'^register2/$', Register2View.as_view(), name="register2"),
    url(r'^register/$', RegisterView.as_view(), name="register"),
    url(r'^login/$', LoginView.as_view(), name="login"),
    url(r'^logout/$', LogoutView.as_view(), name="logout"),
    url(r'^sms_codes/$', SMSCodeView.as_view()),
]
